<!-- 主页面 -->
<div class="bg-light lter wrapper-md ng-scope">
  <h1 class="m-n font-thin h3" translate="user.list"></h1>
</div>
<div class="wrapper-md" ng-controller="UserCtrl">
	<div class="row">
		<div class="col-sm-12 m-b-sm">
			<div class="b-b m-b-sm"></div>
			<div class="form-inline search-row">
				<select class="form-control inline input-sm" style="width:150px;" name="searchType"
						ng-model="vm.query.searchType">
					<option value="account" translate="user.zhanghao"></option>
					<option value="name" translate="user.yonghuming"></option>
					<option value="telephone" translate="user.dianhua"></option>
				</select>
				<input type="search" class="form-control inline input-sm" name="keyword" style="width: 180px;"
					   ng-model="vm.query.keyword"
					   placeholder="{{'common.keyword' | translate}}">
				<button class="btn btn-sm btn-primary" ng-click="vm.search()">
					<i class="fa fa-search"></i> {{'common.search'|translate}}
				</button>
				<button class="btn btn-sm btn-default" ng-click="vm.reset()">
					<i class="fa fa-refresh"></i> {{'common.reset' | translate}}
				</button>
				<!--  -->
				<button iss-permission="B_USER_ADD"
						class="btn btn-sm btn-primary" id="addBtn" ng-click="vm.add()">
					<i class="fa fa-plus"></i>
					<span translate="common.add"></span>
				</button>
				<button iss-permission="B_USER_UNLOCK"
						class="btn btn-sm btn-primary" id="unlock" ng-click="vm.unlock()">
					<i class="fa fa-unlock"></i>
					<span translate="user.jiesuo"></span>
				</button>
			</div>
		</div>
		<div class="col-sm-12">
			<table id="flexiGrid" iss-flexigrid="vm.options" flexigrid-control="vm.flexigridObj"></table>
		</div>
	</div>
</div>

